<?php
/**
 * TOP API: taobao.wlb.item.map.get.by.extentity request
 * 
 * @author auto create
 * @since 1.0, 2012-04-17 12:36:56
 */
class WlbItemMapGetByExtentityRequest
{
    /** 
     * 外部实体类型对应的商品id
     **/
    private $extEntityId;
    
    /** 
     * 外部实体类型： IC_ITEM--ic商品 IC_SKU--ic销售单元
     **/
    private $extEntityType;
    
    private $apiParas = array();
    
    public function setExtEntityId($extEntityId)
    {
        $this->extEntityId = $extEntityId;
        $this->apiParas["ext_entity_id"] = $extEntityId;
    }

    public function getExtEntityId()
    {
        return $this->extEntityId;
    }

    public function setExtEntityType($extEntityType)
    {
        $this->extEntityType = $extEntityType;
        $this->apiParas["ext_entity_type"] = $extEntityType;
    }

    public function getExtEntityType()
    {
        return $this->extEntityType;
    }

    public function getApiMethodName()
    {
        return "taobao.wlb.item.map.get.by.extentity";
    }
    
    public function getApiParas()
    {
        return $this->apiParas;
    }
    
    public function check()
    {
        
        RequestCheckUtil::checkNotNull($this->extEntityId,"extEntityId");
        RequestCheckUtil::checkNotNull($this->extEntityType,"extEntityType");
    }
}
